#ifndef __SCNS_ICM20602_H__
#define __SCNS_ICM20602_H__

#include "ScnsConfig.h"

#if defined(SCNS_ICM20602_ENABLE)&&SCNS_ICM20602_ENABLE==1

#include "ScnsBspIcm20602.h"

#include "ScnsYing.h"
#include "ScnsGyro.h"

typedef enum
{
    SCNS_ICM20602_STATUS_OK=SCNS_YING_STATUS_OK,
    SCNS_ICM20602_STATUS_BSP_FAILED=SCNS_YING_STATUS_BSP_FAILED,
    SCNS_ICM20602_STATUS_FAILED=SCNS_YING_STATUS_FAILED,
    SCNS_ICM20602_STATUS_TIME_OUT=SCNS_YING_STATUS_TIME_OUT,
}ScnsIcm20602Status;

extern ScnsIcm20602Status scnsIcm20602Init(ScnsIcm20602Enum icmN);
extern ScnsGyroSource scnsIcm20602Read(ScnsIcm20602Enum icmN);

#endif
#endif
